<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
    <form action="{% url 'student_myapp:registered' %}" method="post">
        {% csrf_token %}
        <p>
            <label>用户名&emsp;：</label><input type="text" name="user"/>
        </p>
        <p style="color: red">{{ user_hint }}</p>
        <p>
            <label>密&emsp;码&emsp;：</label><input type="password" name="password"/>
        </p>
        <p style="color: red">{{ pwd_hint }}</p>
        <p>
            <label>确认密码：</label><input type="password" name="confirm"/>
        </p>
        <p style="color: red">{{ confirm_hint }}</p>
        <p>
            <label>邮&emsp;箱&emsp;：</label><input type="email" name="email"/>
        </p>
        <p style="color: red">{{ email_hint }}</p>
        <p>
            &emsp;&emsp;&emsp;&emsp;&emsp;<input type="submit" value="注册"/>
        </p>
    </form>

</body>
</html>